package com.shsun.curveapi.domain.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * add curve dto
 *
 * @author shsun
 * @date 2024/06/11
 */
@Data
public class AddCurveDTO {
    @Schema(description = "曲线名称")
    @NotBlank(message = "曲线名称不能为空")
    private String curveName;
    @Schema(description = "遗忘曲线规则")
    private List<CurveDetailDTO> list;
}
